package ooday05test;

public class EnumTest {
    public static void main(String[] args) {
        //
        Seasons[] seasons=Seasons.values();
        //获取枚举对象的所有元素
        for (int i=0;i< seasons.length;i++){
            System.out.println(seasons[i]);
        }
    }
}
